package qldc.pm.tienan.service.persistence;

import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil;
import com.liferay.portal.kernel.util.ReferenceRegistry;


public class YeuCauTrichLucFinderUtil {
    private static YeuCauTrichLucFinder _finder;

    public static java.util.List<qldc.pm.tienan.model.YeuCauTrichLuc> findByCQ_NguoiThucHienTaoTrichLuc_ThoiGian_VungDiaLy(
        java.lang.String coQuanYeuCauTrichLuc,
        java.lang.String nguoiTaoTrichLuc, long tinhIDCanBoTaoTrichLuc,
        long quanHuyenIDCanBoTaoTrichLuc, long phuongXaIDCanBoTaoTrichLuc,
        java.util.Date tuNgayTaoYeuCau, java.util.Date denNgayTaoYeuCau,
        int start, int end,
        com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
        throws com.liferay.portal.kernel.exception.SystemException {
        return getFinder()
                   .findByCQ_NguoiThucHienTaoTrichLuc_ThoiGian_VungDiaLy(coQuanYeuCauTrichLuc,
            nguoiTaoTrichLuc, tinhIDCanBoTaoTrichLuc,
            quanHuyenIDCanBoTaoTrichLuc, phuongXaIDCanBoTaoTrichLuc,
            tuNgayTaoYeuCau, denNgayTaoYeuCau, start, end, orderByComparator);
    }

    public static int countByCQ_NguoiThucHienTaoTrichLuc_ThoiGian_VungDiaLy(
        java.lang.String coQuanYeuCauTrichLuc,
        java.lang.String nguoiTaoTrichLuc, long tinhIDCanBoTaoTrichLuc,
        long quanHuyenIDCanBoTaoTrichLuc, long phuongXaIDCanBoTaoTrichLuc,
        java.util.Date tuNgayTaoYeuCau, java.util.Date denNgayTaoYeuCau)
        throws com.liferay.portal.kernel.exception.SystemException {
        return getFinder()
                   .countByCQ_NguoiThucHienTaoTrichLuc_ThoiGian_VungDiaLy(coQuanYeuCauTrichLuc,
            nguoiTaoTrichLuc, tinhIDCanBoTaoTrichLuc,
            quanHuyenIDCanBoTaoTrichLuc, phuongXaIDCanBoTaoTrichLuc,
            tuNgayTaoYeuCau, denNgayTaoYeuCau);
    }

    public static java.util.List<qldc.pm.tienan.model.YeuCauTrichLuc> findBySDDCN_NYCTL_CQ_CMND_DTTL_SHK_ThoiGian(
        int trangThaiTrichLuc,
        java.lang.String soDinhDanhCaNhanDoiTuongTrichLuc,
        java.lang.String hoVaTenNguoiYeuCauTrichLuc,
        java.lang.String coQuanYeuCauTrichLuc,
        java.lang.String soCMNDDoiTuongTrichLuc,
        java.lang.String hoVaTenDoiTuongTrichLuc,
        java.lang.String soSoHoKhauDoiTuongTrichLuc,
        java.util.Date tuNgayTaoYeuCau, java.util.Date denNgayTaoYeuCau,
        int start, int end,
        com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
        throws com.liferay.portal.kernel.exception.SystemException {
        return getFinder()
                   .findBySDDCN_NYCTL_CQ_CMND_DTTL_SHK_ThoiGian(trangThaiTrichLuc,
            soDinhDanhCaNhanDoiTuongTrichLuc, hoVaTenNguoiYeuCauTrichLuc,
            coQuanYeuCauTrichLuc, soCMNDDoiTuongTrichLuc,
            hoVaTenDoiTuongTrichLuc, soSoHoKhauDoiTuongTrichLuc,
            tuNgayTaoYeuCau, denNgayTaoYeuCau, start, end, orderByComparator);
    }

    public static int countBySDDCN_NYCTL_CQ_CMND_DTTL_SHK_ThoiGian(
        int trangThaiTrichLuc,
        java.lang.String soDinhDanhCaNhanDoiTuongTrichLuc,
        java.lang.String hoVaTenNguoiYeuCauTrichLuc,
        java.lang.String coQuanYeuCauTrichLuc,
        java.lang.String soCMNDDoiTuongTrichLuc,
        java.lang.String hoVaTenDoiTuongTrichLuc,
        java.lang.String soSoHoKhauDoiTuongTrichLuc,
        java.util.Date tuNgayTaoYeuCau, java.util.Date denNgayTaoYeuCau)
        throws com.liferay.portal.kernel.exception.SystemException {
        return getFinder()
                   .countBySDDCN_NYCTL_CQ_CMND_DTTL_SHK_ThoiGian(trangThaiTrichLuc,
            soDinhDanhCaNhanDoiTuongTrichLuc, hoVaTenNguoiYeuCauTrichLuc,
            coQuanYeuCauTrichLuc, soCMNDDoiTuongTrichLuc,
            hoVaTenDoiTuongTrichLuc, soSoHoKhauDoiTuongTrichLuc,
            tuNgayTaoYeuCau, denNgayTaoYeuCau);
    }

    public static YeuCauTrichLucFinder getFinder() {
        if (_finder == null) {
            _finder = (YeuCauTrichLucFinder) PortletBeanLocatorUtil.locate(qldc.pm.tienan.service.ClpSerializer.getServletContextName(),
                    YeuCauTrichLucFinder.class.getName());

            ReferenceRegistry.registerReference(YeuCauTrichLucFinderUtil.class,
                "_finder");
        }

        return _finder;
    }

    public void setFinder(YeuCauTrichLucFinder finder) {
        _finder = finder;

        ReferenceRegistry.registerReference(YeuCauTrichLucFinderUtil.class,
            "_finder");
    }
}
